#ifndef QNEWBUTTON_H
#define QNEWBUTTON_H

#include <QWidget>
#include <QMouseEvent>
#include <QPushButton>
#include <QEvent>
class QNewButton : public QPushButton
{
    Q_OBJECT
public:
    explicit QNewButton(QWidget *parent = nullptr);
protected:


   // void mouseReleaseEvent(QMouseEvent *event);
    void enterEvent(QEvent *event);
    void leaveEvent(QEvent *event);

signals:

public slots:
};

#endif // QNEWBUTTON_H
